package neu.soft;

import neu.soft.binder.ChannelBinder;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication
@MapperScan("neu.soft.mapper")
@EnableDiscoveryClient //服务注册
@EnableFeignClients //启用feign客户端
@EnableBinding({ChannelBinder.class}) //绑定创建的消息接口类
public class OperationServerApplication1080 {
    public static void main(String[] args) {
        SpringApplication.run(OperationServerApplication1080.class);
    }
}
